
execute as @s at @s if data block ~ ~ ~ Items[{Slot:0b,id:"minecraft:iron_ingot",Count:1b}] if data block ~ ~ ~ Items[{Slot:2b,id:"minecraft:iron_ingot",Count:1b}] if data block ~ ~ ~ Items[{Slot:3b,id:"minecraft:iron_ingot",Count:1b}] if data block ~ ~ ~ Items[{Slot:4b,id:"minecraft:water_bucket",Count:1b}] if data block ~ ~ ~ Items[{Slot:5b,id:"minecraft:iron_ingot",Count:1b}] if data block ~ ~ ~ Items[{Slot:6b,id:"minecraft:iron_ingot",Count:1b}] if data block ~ ~ ~ Items[{Slot:7b,id:"minecraft:popped_chorus_fruit",Count:1b,tag:{id:"advm:machines_wire"}}] if data block ~ ~ ~ Items[{Slot:8b,id:"minecraft:iron_ingot",Count:1b}] if score @s ecb_count2 matches 0 run function advm:recipes/item_keeper_success
